package com.md.api.dao;

import com.md.api.entity.UserFtp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserFtpMapper {
    int deleteByUserId(@Param("userId") String userId);

    int insert(UserFtp record);

    UserFtp selectByPrimaryKey(Integer id);

    List<UserFtp> selectAllEnableUser();

    int updateStatus(@Param("userId") String userId,@Param("status") Integer status);

    UserFtp getByUserName(@Param("userName") String userName);

    UserFtp getByUserId(@Param("userId")String userId);
}